package android.pruebas.listview3;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import android.app.Activity;
import android.app.ListActivity;
import android.os.Bundle;


import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.SimpleAdapter;
import android.widget.Toast;
import android.widget.TextView;
import android.view.View;


/**
 * Lista multi columna con imagen.
 * @author luis
 *
 */
public class ListView3Activity extends ListActivity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		Paises paises = new Paises();

		// Create a customized ArrayAdapter

		PaisArrayAdapter a = new PaisArrayAdapter(
				getApplicationContext(), 0, paises);

		setListAdapter(a);


	}


}